Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

Previous Next

I think Split is confused by being given the same separator character twice...

While the Help isn't as clear as it could be, Split isn't meant to work with a single separator consisting two or more characters. It's meant to work like the formula @Explode function, where each character in the separator argument is treated as another separator.

Re-read this part from the Help, noting the section I've bolded:
      delimiter
      An optional scalar String containing the characters to separate substrings. If delimiter is not specified, then the space character " " is used

Basically, it's trying to treat your S="##" as two separators, and apparently can't handle the fact that both separator characters are the same.

If you want "#" as a separator, just use one, like S="#".
If you must use a 2-character separator, write a custom function to do it instead of using Split.


Feedback response number SLES87C2K7 created by ~George Umboosicheketsi on 07/14/2010

Lotus script: Split function has a ... (~Evelyn Lopvelu... 13.Jul.10)
. . double delimiter (~Hank Quetrepul... 13.Jul.10)
. . . . Split / Double separator/Delimiter (~Evelyn Lopvelu... 13.Jul.10)
. . I think Split is confused by being ... (~Bella Zenfooma... 14.Jul.10)
. . . . Split & @Explode (~Evelyn Lopvelu... 14.Jul.10)
. . . . . . SPR AGUD87CN4P (~Bill Frokimari... 14.Jul.10)




Printer-friendly

Search this forum

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS